import request from "@/utils/request.js";

// 短文详情
export function detailsArticle(id) {
	return request({
		url: '/passage/getPassageById/'+ id,
		method: 'get',
		isLoading: false,
	})
}

// 视频详情
export function detailsVideo(id) {
	return request({
		url: '/video/getVideoById/' + id,
		method: 'get',
		isLoading: false,
	})
}

// 绘本详情
export function detailsPictureBook(id) {
	return request({
		url: '/pictureBook/getPictureBookById/' + id,
		method: 'get',
		isLoading: false,
	})
}